package main

import (
	"google.golang.org/grpc"
	"gowork/memberGrpc/fjmMessage"
	"gowork/memberGrpc/fjmServer/handler"
	"net"
)

func main() {

	server := grpc.NewServer()

	fjmMessage.RegisterMemberServiceServer(server, new(handler.MemberHandlerCuda))
	lis, err := net.Listen("tcp", ":5952")
	if err != nil {
		panic(err.Error())
	}
	server.Serve(lis)

}
